table.DECRYPT Function

Syntax

Result_Flag as L = Decrypt()

Description

Decrypt a database file.

Discussion

The <TBL>.DECRYPT() method decrypts the table referenced by the object pointer, <TBL>. The Result_Flag is .T. (TRUE) if the operation is successful. Alpha Anywhere requires exclusive access to the table in order to decrypt it.

Example

Decrypt a table

default_encryption_key_set("swordfish")
'because the default key was set, do not have to supply password for the table.open() method
t = table.open("customer")
t.decrypt()
t.close()

See Also